package com.ldatum.crm.service;

import java.util.List;

import com.ldatum.crm.domain.Customer;

public interface CustomerService {
	void add(Customer customer) throws Exception;
	void delete(Customer customer,int id) throws Exception;
	void update(Customer customer,int id) throws Exception;
	Customer findById(Class<Customer> clazz,int id) throws Exception;
	List<Customer> myCustomer(Class<Customer> clazz ,String proprietor) throws Exception;
	String generateNo() throws Exception;
	void deletes(Customer customer, String ids) throws Exception;
}
